package com.wd.mymine.view.fragment
//我的
import android.content.Intent
import com.wd.live.base.BaseFragment
import com.wd.mymine.R
import com.wd.mymine.activity.MyGiftActivity
import com.wd.mymine.activity.MyWalletActivity
import com.wd.mymine.databinding.FragmentMineBinding
import com.wd.mymine.viewmodel.MineViewModel


class MineFragment : BaseFragment<MineViewModel,FragmentMineBinding>(R.layout.fragment_mine) {
    override fun dataObserver() {

    }

    override fun initViews() {

        //=====================点击跳转我的礼物页面
        binding.myGift.setOnClickListener{
            startActivity(Intent(activity,MyGiftActivity::class.java))
        }

        //=====================点击跳转我的钱包页面
        binding.myWallet.setOnClickListener{
            startActivity(Intent(activity,MyWalletActivity::class.java))
        }

    }

}